package com.liugege.make.proxy;

public class Client {
    public static void main(String[] args) {
        IGamePlayer gamePlayer = new Player("tom");
        IGamePlayer gameProxy = (IGamePlayer) new GameProxy(gamePlayer).getProxyInstance();
        gameProxy.loign("tom","**");
        gameProxy.killBoss();
        gameProxy.upGrade();

    }
}
